package com.zoffy.zoffyapigateway.config;

import com.zoffy.zoffyapigateway.filter.AuthFilter;
import org.springframework.cloud.gateway.filter.GlobalFilter;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class GatewayConfiguration {
    @Bean
    public GlobalFilter authFilter(){
        return new AuthFilter();
    }
}
